<template>
  <div>
    <div class="loading">
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
    </div>
  </div>
</template>
<script>
export default {};
</script>
<style scoped>
.loading {
  display: grid;
  grid-template-columns: repeat(5, 15px);
}
.loading div {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1890ff;
  animation: wq_load 1s ease infinite; 
}

.loading div:nth-child(1) {
  animation-delay: 0.2s;
}
.loading div:nth-child(2) {
  animation-delay: 0.4s;
}
.loading div:nth-child(3) {
  animation-delay: 0.6s;
}
.loading div:nth-child(4) {
  animation-delay: 0.8s;
}
.loading div:nth-child(5) {
  animation-delay: 1s;
}

@keyframes wq_load {
  0% {
    opacity: 1;
    transform: scale(1.3);
  }
  100% {
    opacity: 0.2;
    transform: scale(0.3);
  }
}
</style>
